[INFO] fetching crate ckb-network 0.40.0...
[INFO] checking ckb-network-0.40.0 against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312
[INFO] extracting crate ckb-network 0.40.0 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate ckb-network 0.40.0 on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ckb-network 0.40.0
[INFO] finished tweaking crates.io crate ckb-network 0.40.0
[INFO] tweaked toml for crates.io crate ckb-network 0.40.0 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 38242389c3053a0a8c42ee6ef615061569962b40969826ba1a300391dce626f2
[INFO] running `Command { std: "docker" "start" "-a" "38242389c3053a0a8c42ee6ef615061569962b40969826ba1a300391dce626f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38242389c3053a0a8c42ee6ef615061569962b40969826ba1a300391dce626f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38242389c3053a0a8c42ee6ef615061569962b40969826ba1a300391dce626f2", kill_on_drop: false }`
[INFO] [stdout] 38242389c3053a0a8c42ee6ef615061569962b40969826ba1a300391dce626f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b94016e31a515b0c014440127f54c11f2f652bede92edb8a29b05f9d0aea3a7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2b94016e31a515b0c014440127f54c11f2f652bede92edb8a29b05f9d0aea3a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling heapsize v0.4.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling faster-hex v0.4.1
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling anyhow v1.0.39
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking futures-core v0.3.13
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling faster-hex v0.3.1
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking futures-sink v0.3.13
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking futures-task v0.3.13
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking futures-io v0.3.13
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking bit-vec v0.5.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling openssl v0.10.33
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking unsigned-varint v0.3.3
[INFO] [stderr]     Checking bs58 v0.3.1
[INFO] [stderr]    Compiling tentacle-secio v0.4.5
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking eaglesong v0.1.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]    Compiling snap v1.0.4
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking path-clean v0.1.0
[INFO] [stderr]     Checking ckb-build-info v0.40.0
[INFO] [stderr]     Checking ckb-spawn v0.40.0
[INFO] [stderr]    Compiling blake2b-rs v0.1.5
[INFO] [stderr]    Compiling secp256k1-sys v0.3.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking merkle-cbt v0.3.0
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]     Checking futures-channel v0.3.13
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking tinyvec v1.1.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking xmltree v0.10.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]     Checking http v0.2.3
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling openssl-sys v0.9.61
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking ckb-channel v0.40.0
[INFO] [stderr]     Checking unicode-normalization v0.1.17
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]    Compiling ckb-hash v0.40.0
[INFO] [stderr]     Checking secp256k1 v0.19.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking flate2 v1.0.20
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking idna v0.2.2
[INFO] [stderr]     Checking includedir v0.5.0
[INFO] [stderr]     Checking sha2 v0.9.3
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking bloom-filters v0.1.1
[INFO] [stderr]     Checking url v2.2.1
[INFO] [stderr]    Compiling includedir_codegen v0.5.0
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking ckb-util v0.40.0
[INFO] [stderr]    Compiling ckb-system-scripts v0.5.1
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking faketime v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling numext-constructor v0.1.6
[INFO] [stderr]    Compiling derive_more v0.99.13
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]     Checking futures-util v0.3.13
[INFO] [stderr]     Checking futures-executor v0.3.13
[INFO] [stderr]     Checking futures v0.3.13
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking ckb-occupied-capacity-core v0.40.0
[INFO] [stderr]     Checking ckb-fixed-hash-core v0.40.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking serde_plain v0.3.0
[INFO] [stderr]     Checking ckb-logger-config v0.40.0
[INFO] [stderr]     Checking ipnetwork v0.14.0
[INFO] [stderr]     Checking numext-fixed-uint-core v0.1.6
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking ckb-logger v0.40.0
[INFO] [stderr]     Checking attohttpc v0.10.1
[INFO] [stderr]     Checking ckb-metrics-config v0.40.0
[INFO] [stderr]     Checking molecule v0.6.0
[INFO] [stderr]     Checking tentacle-multiaddr v0.2.0
[INFO] [stderr]    Compiling ckb-occupied-capacity-macros v0.40.0
[INFO] [stderr]     Checking igd v0.11.1
[INFO] [stderr]    Compiling ckb-fixed-hash-macros v0.40.0
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking jsonrpc-core v14.2.0
[INFO] [stderr]     Checking ckb-occupied-capacity v0.40.0
[INFO] [stderr]    Compiling ckb-error v0.40.0
[INFO] [stderr]     Checking ckb-fixed-hash v0.40.0
[INFO] [stderr]     Checking ckb-crypto v0.40.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking ckb-stop-handler v0.40.0
[INFO] [stderr]     Checking tokio-yamux v0.2.12
[INFO] [stderr]     Checking tentacle v0.3.8
[INFO] [stderr]    Compiling numext-fixed-uint-hack v0.1.6
[INFO] [stderr]     Checking numext-fixed-uint v0.1.6
[INFO] [stderr]     Checking ckb-rational v0.40.0
[INFO] [stderr]    Compiling ckb-types v0.40.0
[INFO] [stderr]     Checking ckb-pow v0.40.0
[INFO] [stderr]     Checking ckb-dao-utils v0.40.0
[INFO] [stderr]     Checking ckb-jsonrpc-types v0.40.0
[INFO] [stderr]    Compiling ckb-resource v0.40.0
[INFO] [stderr]     Checking ckb-chain-spec v0.40.0
[INFO] [stderr]     Checking ckb-app-config v0.40.0
[INFO] [stderr]     Checking ckb-network v0.40.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest`
[INFO] [stdout]  --> src/tests/addr_manager.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use proptest::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `proptest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tempfile`
[INFO] [stdout]   --> src/protocols/test.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tempfile::tempdir;
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `proptest` in this scope
[INFO] [stdout]   --> src/tests/addr_manager.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | proptest! {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `num_cpus`
[INFO] [stdout]    --> src/protocols/test.rs:199:43
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let num_threads = ::std::cmp::max(num_cpus::get(), 4);
[INFO] [stdout]     |                                           ^^^^^^^^ use of undeclared crate or module `num_cpus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]   --> src/tests/peer_store_db.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:131:19
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddrInfo`, `MultiaddrExt`, `PeerId`, `addr_manager::AddrManager`, `multiaddr::Multiaddr`
[INFO] [stdout]  --> src/tests/addr_manager.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     multiaddr::Multiaddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     peer_store::{
[INFO] [stdout] 4 |         addr_manager::AddrManager,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |         types::{AddrInfo, MultiaddrExt},
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 6 |     },
[INFO] [stdout] 7 |     PeerId,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::Ipv4Addr`
[INFO] [stdout]   --> src/tests/addr_manager.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::net::Ipv4Addr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ckb-network`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "2b94016e31a515b0c014440127f54c11f2f652bede92edb8a29b05f9d0aea3a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b94016e31a515b0c014440127f54c11f2f652bede92edb8a29b05f9d0aea3a7", kill_on_drop: false }`
[INFO] [stdout] 2b94016e31a515b0c014440127f54c11f2f652bede92edb8a29b05f9d0aea3a7
